<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录页面</title>
    <!-- 自己的css -->
    <link rel="stylesheet" href="./assets/css/login.css">
    <!-- 导入layui  css -->
    <link rel="stylesheet" href="./assets/lib/layui/css/layui.css">
    <!-- 导入视频插件css -->
    <link rel="stylesheet" href="./docs/demo1/dist/jquery.vidbacking.css">
</head>

<body>
    <!-- 背景视频 -->
    <video poster="" autoplay muted loop class="vidbacking">
        <source src="./docs/bdfff136f6c3e820d4253975947cb3e1.mp4" type="video/mp4">
    </video>


    <!-- logo部分 -->
    <div class="layui-main">
        <img src="./assets/images/logo.png" alt="">
    </div>

    <!-- 登录注册部分 -->
    <div class="loginAndRegBox">
        <div class="title-box"></div>

        <!-- 登陆部分 -->
        <div class="login-box">
            <form class="layui-form" id="form_login">
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-username"></i>
                    <input type="text" name="username" placeholder="请输入用户名" lay-verify="required">
                </div>


                <div class=" layui-form-item">
                    <i class=" layui-icon layui-icon-password"></i>
                    <input type="password" name="password" placeholder="请输入密码" lay-verify="required">
                </div>


                <div class="layui-form-item">
                    <button class="blayui-btn layui-btn-fluid layui-btn-normal " lay-submit>登录</button>
                </div>

                <div class="layui-form-item links">
                    <a href="javascript:; " class="link_reg ">去注册账号</a>
                </div>
            </form>
        </div>

        <!-- 注册部分 -->
        <div class="reg-box">
            <form class="layui-form" id="form_reg">
                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-username "></i>
                    <input type="text" name="username" placeholder="请输入用户名" lay-verify="required">
                </div>


                <div class="layui-form-item">
                    <i class="layui-icon layui-icon-password "></i>
                    <input type="password" name="password" placeholder="请输入密码" lay-verify="required ">
                </div>

                <div class=" layui-form-item">
                    <i class=" layui-icon layui-icon-password "></i>
                    <input type="password" name="repassword" placeholder="再次确认密码" lay-verify="required ">
                </div>

                <div class="layui-form-item">
                    <button class="blayui-btn layui-btn-fluid layui-btn-normal" lay-submit>注册</button>
                </div>

                <div class="layui-form-item links">
                    <a href="javascript:; " class="link_login ">去登录</a>
                </div>

            </form>
        </div>
    </div>

    <!-- 导入layui  js -->
    <script src="./assets/lib/layui/layui.all.js "></script>

    <!-- 引入jq -->
    <script src="./assets/lib/jquery.js "></script>

    <!-- 引入视频js -->
    <script src="./docs/demo1/dist/jquery.vidbacking.js "></script>

    <!-- 导入自己js -->
    <script src="./assets/js/login.js "></script>



    <script type="text/javascript ">
        $(function() {
            $('body').vidbacking({
                'masked': false
            });
        });
    </script>

</body>

</html>